#pragma once
#include <QSplashScreen>
#include <QTimer>

class SplashScreen : public QSplashScreen {
    Q_OBJECT
public:
    explicit SplashScreen(const QPixmap& pixmap);
    void start(int ms = 3000);

signals:
    void finished();

private:
    QTimer* m_timer;
};
